package com.groupbuying.admin.connector;

import com.groupbuying.admin.utils.PageUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;


/**
 * @anthor zmlmagic
 * @date 2019/1/10 5:45 PM
 * @company 蒙泰互联网公司
 * @des 查询中心
 **/

@Service
@FeignClient(name = "service-cheetah")
public interface CheetahFeign {
    /*获取代理商流水列表*/
    //@RequestMapping(value = "/agentMoneyFlow/list", method = RequestMethod.GET)
    //List  getagentMoneyFlow(@RequestParam Map<String, Object> params);
    /*获取代理商流水列表*/
    @RequestMapping(value = "/agentMoneyFlow/list", method = RequestMethod.GET)
    PageUtils getagentMoneyFlows(@RequestParam Map<String, Object> params);
}
